package com.twt.sys.controller;

import com.twt.model.system.entity.SysAccount;
import com.twt.model.system.vo.SysAccountAddVo;
import com.twt.sys.service.SysAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Desciption:
 * @ClassName:EntryApiController
 * @Author:TwT
 * @Date:2022/6/22 20:48
 * @Version:1.0
 **/
@RestController
@RequestMapping("/sys/entry")
public class EntryApiController {
    @Autowired
    private SysAccountService sysAccountService;

    @PostMapping("registryAccount")
    public void registryAccount(SysAccountAddVo sysAccountAddVo){
        sysAccountService.registryAccount(sysAccountAddVo);
    }
}
